			{if $smarty.get.action eq 'loginerror'}
            <table class="main">
              <tr>
              	<td>
                Login Error
                </td>
              </tr>
			  <tr>
				<td>
                {php}
                if(isset($_SESSION['ERROR'])) {
                	$msg=$_SESSION['ERROR'];
                	echo $msg;}
                unset($_SESSION['ERROR']);
                {/php}                
		  		</td>
			  </tr>
			</table>
            {else}
            <table class="main">
              <tr>
              	<td>
                
                </td>
              </tr>
			  <tr>
				<td>
                
		  		</td>
			  </tr>
			</table>
            {/if}